//
//  MovieLayout.m
//  UI16_UICollectionView
//
//  Created by dllo on 16/3/30.
//  Copyright © 2016年 付冬梅. All rights reserved.
//

#import "MovieLayout.h"

@implementation MovieLayout

- (instancetype)init {
    self = [super init];
    if (self) {
        NSLog(@"%s", __FUNCTION__);
        
    }
    return self;
}

- (void)prepareLayout {
    NSLog(@"kkkkkkkkkkkkkkkkkkkkkkkkkkkkk");
    [super prepareLayout];
    self.minimumInteritemSpacing = 10;
    self.minimumLineSpacing = 10;
    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
    self.itemSize = CGSizeMake((ScreenWidth - 40) / 3, 120);
    self.sectionInset = UIEdgeInsetsMake(10, 10, 10, 10);
}

@end
